add ev_log replay script & bug fix in gesturedetector

we can have unit test for UI now :P