Updated slider for pager and click events