checkign right panel close/open