setting sidebar and footer