Redraw spans on window resize