implemented rotation from selectionoptions dock widget