Add flag for disabling next and previous image preloading
Jslint doesn't like this
Merge pull request #29 from rayburgemeestre/master

Added a feature that makes it possible to disable the preloading of next and previous image