integrate slide and drag 'n drop