fixed scroll to top bug