use gallery to display category