table resize script and a demo page