Vertical and Horisontal scroll handling