support overflow and tabs
Enhance performance.