Stacking JPG images and scrolling using Jquery

Stacking JPG images and scrolling using Jquery

I am trying to pre-load and then stack jpg images.

The user can then use the mouse to "scroll" through the stack of images so that 1 image is shown at a time overlapping the previous image.

This would be akin to a PACS viewer for viewing at CAT scan.  I would like this to work for desktops and mobile interfaces

Can someone suggest:
1) should I use Jquery UI, mobile or what to develop this?
2) what Jquery function would allow me to preload 50 or so images and stack them on top of one another in a <div> element to be scrolled upon using the mouse?

I am not looking for pre-made DICOM PACS viewers.  I am interested in tinkering myself.  

thanks