Widget's gestures initialization refactor