removed excess code to try to fix scrolling problem