added rotation. working on toggled select