added browser scrolling functions
switched to pure js method to prevent scrolling while hovering menu items