Add slider control and base code