slides: resize slides container after images load