Got things working a bit better by understand that resizeTriggers reInit
Fixed up the example (beautified)