now supports all orientation rotations