adjusted @media for smoother transition to handheld