ensure images resize with container width