changes layout, gets menu working