optimize the UI including date and footer