change height and wight to parents objects DOM