minor fix for Y panning on smaller screens