better tilt logic