only set max height of images not container
refactor gallery js
adds chad to authors
creates lib js for smartresize function
Merge pull request #188 from G5/gallery-fix

Gallery fix