added scroll to top function