width is 0 in case display none on resize fixed