Make template.html mobile-friendly