perf change

was calling resize() on each click: bad!