Add go to top function

Add go to top function