Add stop action to slider