found the problem! i forgot to implement imagesLoaded, so it didn't wait for the images to load. derp.