Implementing Mishaux's fix for hotspots when stopping scrolling

This fixes a bug where in the right or left autoscrolling directions, the hotspot's visibility was not being updated when the autoscrolling was stopped. Also DRYs things up a little bit.