LGrid optimized

add a property to control Grid's layout in a diffrent way