a huge part of the code was simplified because now allow center on dt-windows, do we dont have to implement it ourself.
center