handle scrollsToTop in demo project