Allow slider to have classes; update example