Refactored the navigation drawer.