The final solution was pretty fun.<p>Here is a gist if you can&#x27;t get it :-)<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;aphillipo&#x2F;59ab3b54419c97d96687" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;aphillipo&#x2F;59ab3b54419c97d96687</a>