add elements of sidebar and footer