adapt jQuery slides