iOS5-compatible version of Apple's PhotoScroller sample