UIView’s that is used as tabs are now have auto resizing by width and height

This way, changes in tabs' sizes are reflected to their contents as well. This provides contents to be centered in every size.