Use the element names switch and slider for the two css nodes, and drop the .trough and .slider classes.