A method to run something when drawers open and close