adjust the display info layout