add callback on changing images

could be used to show and hide previous- and next buttons
Merge pull request #16 from tobaco/master

add callback on changing images