Set config.mobile based on window width