make sure document is scrolled to top initially