Handle disabling the toggle button on small screen sizes