Center a DOM element relative to another container