added jquery cookie for sidebar status