fix for mobile toggle