update controls position on window resize