update layout / added gesture recognition