change some style for better performance in less sizes