updated to allow switching theme to mobile and desktop