Animate fragment transitions in Image viewer.