Added a continuous block callback to sliding
Made the callback more pratical.
Clean up.