Fix photo gallery scroll.