reverse direction of rotateLeft and rotateUp