private void HubSectionFillPageBehavior_Loaded(object sender, RoutedEventArgs e)
        {
            Hub associatedHub = this.AssociatedObject as Hub;

            associatedHub.ApplyTemplate();
            var scrollViewer = getScrollViewer(associatedHub);

            if (scrollViewer != null)
            {
                scrollViewer.HorizontalSnapPointsType = SnapPointsType.MandatorySingle;
            }
        }