Enable mobile viewport in viewer template.

Addresses #774