Fixed gallery and thumbnail positioning
Merge pull request #1 from chenjackie/master

Thanks!