widget design - functions and design of slider finished