-n 
fixed bug with onClose/onOpen being called when the drawer was already closed.