add rotate transition