Fixed a bug causing finger gesture not working in mobile version