fixed some problems with the finger gesture class, but still has some issues