changes to the slider html so the image only slide is shown if the link is not set