Fix responsive sidebar vanishing issue