Resize SDSegmentView after TitleFont has been changed
cleaned up code that have been added for ios7 support