logic for next/prev for only-child photos should be fine, but the logic needs to be moved to the controller