Dont switch direction while moving