support fit width and responsive resize