add viewport settings to layout file