Added scrollThisToTop and scrollThisToBottom functions