Refactor API.
Merge pull request #6 from mapbox/imagecompare-config

Imagecompare config (doubletap)