made gallery display in 3 columns