remove slider in chrwnd, refactor