Rotate the view of an image