Make the slidehow dynamic