Add pause to slider