cleaning the navigationdrawer code