change double click logic a bit