define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'css!./style', 'html!./icons', 'iron-icon-set', 'paper-fab', 'paper-icon-button'], function (paperdialoghelper, inputmanager, connectionManager, browser) { return function (options) { var self = this; var swiperInstance; var dlg; function createElements(options) { dlg = paperdialoghelper.createDialog({ exitAnimationDuration: options.interactive ? 400 : 800, size: 'fullscreen' }); dlg.classList.add('slideshowDialog'); var html = ''; if (options.interactive) { html += '