restore variable to prevent extra navbar space