Prevent scrolling if grabbing the visible box