added content gallery and thumbnail gallery