stopped flickering in sidebars using resolves