Added rotation to ImageBox.