updates on layout and nav menu functions