Added rotation to forms