Add scrolling to top when an pagination link is clicked