Solved the curious case of disappearing divs