added attachment behaviour to drag blocks