iOS 7 Framing issue and hardcoding fixed