update the style to fit the width-screen