Added ability to disable smooth scroll to page

Added a method to disable the animation when a tab is selected.