jQuery slider gallery + mac dock effect


I’m trying to create a horizontal gallery with images that zoom in and out like the mac dock effect.

I was able to create a slider gallery using this fabulous tutorial here:

Now I’m having trouble making the images enlarge as they pass through the center. I know that there are plugins like the jqDock (http://www.wizzud.com/jqDock/) that does that, but this doesn’t have the slider.

Can anyone help me integrate the two?