Optimize the list scroll smoothly when expanding and collapsing .