added rotation functionality across all planes