fix for scrolling on load bug