implemented photo gallery fragment