changing preview display style