hook up photos tab to the photos page