Update title when swiping pages

Currently title changes only if pageControl was touched.
This is fix for the swipe gesture.