Add scroll_to_top and scroll_to_bottom methods