changed base template to be more mobile-friendly