Made onAfterShow and onAfterHide events
Merge branch 'master' of github.com:rayburgemeestre/PhotoSwipe into autotrack