Get select witdh before to hide it because in some case the width change when hidden.