value1 = rotate value
value2 = duration