The Windows Phone SDK contains a Panorama/Pivot Control that mimics the functionality you see in the people or photos hub.
Here's a link to a code sample using this control:
http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx
Scroll down to the Controls section of the samples page and the first item there is the Panorama Sample.
I'd also recommend taking a look at the section titled Cameras and Photos.