add slider for table, working on vertical one