I have this fiddle: https://jsfiddle.net/ren8v32v/
What I want, is that the .underline div moves under the clicked .block div. The problem is, is when I click on one of the inner divs, JavaScript also sees the div above, so the animation is 'nullified'.
I was wondering if this situation knows a solution.