Correct scrolling and zooming