fix bug with reloading slider with custom pager