changed headers to have title line which depends on screen size