BaseGesture class modified

Modified to fit the mechanism of ScrollDown and ScrollUp