building up sidebar and footer