reorganize all slider code
add events to redraw slider on resizing show/hide