Added delegate for checking if the drawer was opened or closed.