Moved all animation code to new class PhotoView and fixed positioning of top bar