add viewport line to application layout