detect single vs. double click