Implement scale gestures and various key presses