Adding slider and mouse events to our interfaces