make error pages mobile-friendly, #253