small workaround for #3878 Doubleclicking for open tree displays "loading" icon

For every double click a click event was also fired. So made some workaround, so that if second click fires then it will be stopped and only first click will continue, Though the script has to wait for 300 ms but then it differentiates between the click and the double click.

#new code mapped in js/navigation.js