Reload grid on orientation and margin change