added function to enable and disable scrolling
refactored hide/show of verticalNav