popup resize to fit image
captions added
map code moved to its own js file