Improved lr support and added flow-grid.html