update refreshOnResize example to reflect documented args
update resizeOnRefresh to properly clear prior event listeners and update options when called multiple times