solve the bug for more on small screens for program index