modified managing logic for Sticky and DataBar