fix bug with carousel elements display