added gesture and root view controller