changed templating on mobile devices