adapt to changing window sizes