Fixed rotate on last element