Implement scrollToPage: method