Add resize handler for variable sized slideshows (%)