Updated the html structure.

Added another container to the elements. Now they are not tied to the
arrows.