Grid from absolute positioned elements