typo size fixed
preparation for the button that changes the display mode
clean the code