Made the navigation drawer more efficient. Cleaned some code.