resize key on embedded view