add initialisation for mousedown/mouseup