Add additional logic for auto-scrolling workspace (#749)
Add additional logic for auto-scrolling workspace (#749)

* Add additional logic for when to scroll the workspace

* small fixes

* Use better names
google/blockly-samples,google/blockly-samples,google/blockly-samples,google/blockly-samples