clean up aperture slider code