Additional fixes to scrolling functionality. Still need to look into exception that occurs on resize.