Use mousedown event to control the block