add scroll to top on switch tab