fix incorrect manipulation of y2 axis when scrolling