preserve side bar menu state through jQuery

preserve sidebar menu through jQuery