stops sidebar hiding