update tui createProgress/Slider set direction