implemented dragging tiles for level editor