public function registerClientScript()
	{
		$view = $this->getView();

		if (isset($this->theme)) {
			$path = $view->getAssetManager()->publish(__DIR__ . '/assets/css/themes');
			$view->registerCSSFile($path[1] . '/' . $this->theme . '.css');

			if ($this->theme == 'image' && isset($this->pluginOptions['scrollText'])) {
				$this->pluginOptions['scrollText'] = '';
			}
		}

		ScrollupAsset::register($view);

		$options = empty($this->pluginOptions) ? '{}' : Json::encode($this->pluginOptions);
		$js = "$.scrollUp($options);";
		$view->registerJs($js);
	}