update style for small screen