fix bug 1011862 - Ensure proper open/close with responsive mode in wiki