canvas drag implemented preliminarily