public function registerAssetFiles($view)
    {
        parent::registerAssetFiles($view);
        $js = <<<js
\$.fn.smoothScroll.defaults.speed = 400;
js;
        //        $view->registerJs($js, View::POS_END, 'js:smoothScroll');
    }
    public function registerAssetFiles($view)
    {
        parent::registerAssetFiles($view);
        $js = <<<js
\$.fn.popup.defaults.transition = 'all 0.15s';
if (is.touchDevice()) {
  \$.fn.popup.defaults.scrolllock = true;  
}
js;
        $view->registerJs($js, View::POS_BEGIN, __CLASS__ . ':init');
    }