Fixing overflowing tables for medium screens