removed autoresizing from main viewcontroller, fixed auto constrants bug