finish drag and rotate