reorganized drawer layout code in main activity