Fix x-flipbox brackets

"With **\<x-flipbox**" should be "With **\<x-flipbox\>**".
I also refactored the DOM structures to make it more readable.