added resize to fit width