Client side resizing