added loader to slider