Fixed scrolling bug when all panels visible