refactored UpcomingActivity functions to UpcomingPagerFragment