Fix scrolling boundaries.