Or I am not sure if you can generate a separate widget for the mobile variant. That might change the code.