display according to current selection