fix issue and use click or touchstart but not both