Center any element to the window or it's parent element.