correction of the rotate bug on the drawer