add key press function for styleguide page that toggles the layout between wide and normal