use separate displayCount variable to avoid issues when changing numberOfPages of existing instance
use separate displayCount variable to avoid issues when changing numberOfPages of existing instance

shima11/FlexiblePageControl,shima11/FlexiblePageControl