changing title of post view when you swipe to a new post
Cleaning up code