implemented touch gestures with hammer
small fixes