                 pageIndex = defaultPage
                 
                 isStarted = true
-                lazyLoadPages()
-            }
+            }
+            lazyLoadPages()
         }
     }
     

            for subview in contentScrollView.subviews {
                subview.removeFromSuperview()
            }
            
            var tabScrollViewContentWidth: CGFloat = 0
            var contentScrollViewContentWidth: CGFloat = 0

//  TODO:
//   1. Add a method that can be called when developer need to resize UI on viewDidAppear
//   2. Infinite Scrolling
//   3. Performace improvement
//   4. Adjust the scrolling offset if tabs have diffent widths

import UIKit

