Hack to work around phantom scroll-to-top behavior. Also, scroll to anchor element after it's clicked.