set up video, image gallery, and page selection