replacing containers with row class tags