scroll document to top when doing a page transition