now all pages not visible are hidden, avoiding scrolling to other pages in IE and making everything a little smoother