body smooth scroll to top or bottom based on jquery