Null out onSelect when transferToProps to div

closes #65 #197
Merge pull request #198 from pieterv/panel-onselect-fix

Null out onSelect when transferToProps to div