fix the sidebar 'scroll to top' behavior