Refactor slides directive
Image lazyload optimization.