disabling gallery animation when there is only 1 image. clses #103