got rotation of selected points to work