Adjust tap gesture for iOS7 device compiling