add PageViewController functionality