FoldingPanel: improve delay system and make mouse transisiton smooter