Prevent unexpected jumping on the page when clicking detail links