adapt tables for mobile view