Set max-height on mobile popups