added text input toggle. added dynamic resize for text field