Added picture rotation