updated textbox to take rotation value