made sidebar and footer work