I'm using a jquery multi cycle with double initialization

I'm using a jquery multi cycle with double initialization

I have a well structured page:
  1. <div id="parent">
  2.       <div id="slide1">
  3.             <img><img><img><img>
  4.       </div>     
  5.       <div id="slide2">
  6.             <img><img>

  7.       </div>
  8.       <div id="slide3">
  9.             <img><img><img><img><img><img><img><img>
  10.       </div>
  11. </div>
would be a kind of multi photo gallery
each div slide
can contain multiple images should overlap with fade effect
in practice there is a page that shows me the first slide1
and 2 do next and prev buttons to turn the pictures slide1
If I click to see the second slide2 should turn the picture of the second slide2
but it works but then return to the first slide does not make me see more photos

help me
serdominik