Fix click on PanZoomBar when page is scrolled (issue #798)

buttonclick used page position of the PanZoomBar but clientX/Y (relative to the viewport) from the event object. The fix is to subtract page scroll from button position.