Implement a pageviewcontroller