show content and selection correctly