Viewport info added

Viewport information added to the template for a better
adjustment to different devices.