Move the navbar and footer to the layout view