screen zooms randomly on iMac 2012 iMac running el capitan 10.11.6

screen zooms in and out randomly. does it with video and maps most often.
Check if you enabled trackpad smart zoom in System Preferences


Got to system Preferences Apple Icon > System Preferences > Trackpad
Click Scroll &amp; Zoom tab
Check the zoom options and uncheck Smart Zoom