feature: add allowed_attributes isMobile on mobile themeswitcher
fix pep8