fixes scrolling issue on small devices