Improve responsiveness on small screens and when on-screen keyboard is visible