added percentual dimension calculating of gui elements