Move to the last row when page_down pressed on the last page
Move to the first row when page_up pressed on the first page