PanGestrue Updated. Rev function need to be changed