Bug 840910: Tune gallery for faster panning on larger numbers of images. r=djf provisional-ui-r=jcarpenter