added double click support