fixing the menus and footers