on resizestop - data-gs-height not updated ?

Hi !

I am not able to get the current height of the element when I'm in the .on('resizestop') event.
When I make : element.getAttribute('data-gs-height'); It gives me always the old value, not the new one.

Here is my code :
https://jsfiddle.net/Karam/wzzm2oua/6/

Thank you for your help.