Dominator - create pagination out of given DOM elements