changed velocity-based lookups from side+1 to side+STATE_VELOCITY_X