fix bug with before position and size
display none instead of visibility hidden
Better reinit of swith according the theme
Update libs