trying to get index pages correct for smartphones