Odometer: don't set width to 0 when the element has `display: none`

Fixes an issue when the viewport is resized and the menu was previously
collapsed.