Animate scrolling and implement modal menu popup for smaller screens