apply clockwise rotations for nodeboxes (1,3,5)