add slider counting. minor fixes