Fixed scrolling on route changes and fixed java script error for affix component.