Gallery now supports pagination for events and tags, just so we don't load too many thumbs at once

However. This breaks the sorting of events and tags because sorting used to be done by ngRepeat.
Sorting works, kind of