Improved smooth scrolling and active menu item