add go to top function