added jQuery to fix height of flex-container more accurately, set a function to resize based on percentages. i still can't figure out why it won't work w/ just css alone.