added gallery mode
fix gallery
changed gallery_mode property
Merge pull request #2 from hkocaslan/master

added gallery mode