fixing dashboard gadget resize issue