Position calendar on open and on window resize