prevent scrolling when viewing