update autolayout and fix issue on iOS 7.1