add viewport to layout