Attaching only to known elements of the slider