fixed related courses carousel bug with extra empty panel in some cases