fix for accordion mobile glitch