added hax to check for iPhone5 scrolling and centered views when keyboard appears