Implemented basic drag functionality for a sample sprite.