implementing the drawer