Fix multitouch gestures.
Add Idea files to gitignore.