Adding page navigation using scroll to window with smooth animation.