refresh menu on resize