undo rotate function
change image size