capture the drag events, and when it ends, position the slider..
PSST : nothing is automatic... u have to make it automatic ;-)