fix javascript scrolling, hide when at top of page