Added double click behaviour.