Scrollpane problem

I am building a photo gallery with a scroll pane that has buttons that link to a larger image when pressed which come up in the uiloader.
before I try to use the scrollpane component the buttons are linking to the larger image which coming up in the UIloader.
when I put in the scroll pane component, the thumbnails are showing they have a link with the cursor but the links to the larger images don’t work anymore…anyone know what I am doing wrong?