We had customized it to support Height change, here you have it: https://www.dropbox.com/s/hy60e2ic4t48782/Logout_Extension.zip?dl=0
This customized version it's also responsive and has a Logout trigger service ( you can logout programmatically from the Mashup )
Thanks for the upgrade Carles.
I have changed a couple of things of your code since the click event didn't work for me (it tried to do it after I was actually logged out). So now clicking doesn't actually logout. I need to link the "Clicked" to the "Logout" service that you added so that it actually logs out. This allowed me to use services in the middle (Needed to delete the users data from a property), and with the trigger from the completion of those services, I logout.
If you want, I can send you the code, but it is actually very similar to the one that you did. Just commented the logout part of the "Click" event and pasted that part on the "Logout" service