got basic drag functionality working