I want my swift code to to end the connection the slider has with object pg after the action with the slider is completed. So right now when you click of the imageview pg th