Added option to prevent scrolling