Added functionality to the nav drawer.