add scroll to top method