updated to jump to top of the page when switching posts