First version of GridLayoutManager.