adding window resizing adjustments to jquery grid