Smarter toggling logic, cmd+o for source panel