converted full slider into constructor. added funcitonal tests