added double click feature