better way to debounce svg resize closes #112