add jquery ui slider to define number of trees