get the x,y coordinates of the browser window's center