scrolling works now and other bugs fixed