adding dynamic loading support for slides