You might try Scrolling HTML bookmarks for the later case, as "Scroll to Top Control v1.1" is designed only to scroll to the top of the entire document, and not to an element within it.