Added the rotate emit event