created a functioning jquery slider on the pictures show page