minor refactoring, changed default gallery