Viewport only defined when mobile layout is chosen