Bring Back DOM Auto Centering

Hi @Tushar11,

This may not be the latest library version. DOM centering issue arose after release of library version 28.0.0 whereas the โ€œTradeโ€ button was shifted below in library version 27.0.0.