Fixed scrollsToTop issue