adding context switching for left side panels