toggle pinned queries