Update demo with resize fix