fix(popover): reposition popover on window resize. Closes #2189