Fixed the issue where dragging would double-toggle the last cell upon release by removing the onClick listener and just using the mouseDown listener alone.