adding pinch open/close gestures and unit tests