added scroll to top functionality