add display toggle to query field