Cleaned up rows for gallery view.