Made rotation work based on current velocity