Passes element to onComplete callback.

It gives us two things:
1. Performance boost if we want to perform actions on the element (as we don't need to search for that element again).
2. Ability to perform actions on individual elements if we have several galleries on the page (the onComplete call is called for each gallery).
Merge pull request #24 from lucalanca/master

Passes element to onComplete callback.