add viewport and style