Added callback for notifications during opening/closing of the drawer.