fixed bug with logo on resize