bulid up a slider which can be easily to be dragged and valued