fixed: Carousel bug in first time page loads
bug fixed for 1 Page carousel has problem in navigations by checking number of pages on initialize.