fixed bug in slider modal
fixed bug in slider modal