fixed bug with more than one slide on same page