made a resizable grid