fixed a conflict with pagination and drag plugins