add slider support