carousel images resize correctly dynamically with respect to browser size