Fixed the grid so that dates appear horizontally, and added the slider