adjust elements' displaying size.