fixed collapse bug on mobile