prevent jumping to the top of the page

prevents jumping to the top of the page (UX)