Fix for issue #1 - page 2 repeat. Get page index from PageContentViewController. Also made outlets optional