Missing end div causing layout issues