refactored configurable scroll to top, renaming