Added some styles and generate the grid by appending