adapt tables for mobile