replaced index view tables with grid layout