carousel elastic resize fix