DOM Based Routing and Infinite Scroll

I’ve been using the DOM-based routing to trigger some javascript that calculates some style related modifications on load, and it works great, but I can’t seem to get Infinite Scroll to play nicely with it. The initial page load triggers the javascript, but I can’t figure out how to get Infinite scroll to retrigger these events. They provide a box to execute code on callback, but I’m fairly new to the DOM technique (and object literals in general) and can’t seem to nail down what I need to do to retrigger. Any help would be awesome!