Disable scrolling to "hidden" elements