fixed bug of double clicking on prev/next writing comment