To prevent the click during expand/collapse animation
Fix the issue for background restore on collapse