fixed IS_IOS7 makro to address newer iOS versions