fixed container closing in the wrong spot in html