add sidebar and main content