reposition clear button on window resize