fix js slide