How do fishfinders compensate for the motion of the boat?

Phillip B asked: So we were watching the BBC’s Three Men in a Boat, when they showed a fishing boat fitted with a fishfinder sonar. And the question arose how the screen shows a steady picture when the boat is pitching and rolling around?

I had a quick look around the Garmin website, after a search [...]