Note: the data-* Attributes are necessary for JQM enabled frontend. Maybe this part could be put into a partial. A TypoScript setting plugin.tx_vantomas.settings.layout is necessary to allow a partial name switch then.