Added a more succinct style for if else statements. Also fixed some popover bugs with iPad.