jquery onclick function added to the slide2