Scroll to page top/bottom or an element

It's useful to scroll up/down in a long page, or a page with a floating header.