Adding closeDrawer function