Added rotation functionality ( < and > ).