fixed expand contract bug on mobile