carousel resize bug and fix demo