updates and bug-fixing for side panel interaction