Make history table look better in smartphones and tablets