switched slider and date picker to jquery ui