a button which can back to the top and go to the bottom

Add a button for all websites which can back to the top and go to the bottom,and there is a sliding effecct.