prevent double click in sidebar