Resize axis on window resize