Auto-updating menu style on window resize