Changes the layout of navigation drawer.