CMS-26 Fix the issue of animation failure when containerWidth is zero

The carousel indicators(arrows and bullets) shouldn't be displayed until the first image is loaded. However, the containerWidth initialised once only as soon as the carousel container is generated, so if the container is hidden during the initialisation, the containerWidth will be zero.

This fix is for retrieving the current container Width when it's zero before sliding occurs.