fixed drawer callback functions passing the correct viz element
cleaned up dev statements