Converted view controller to auto layout