implemented auto-flip textbox feature for Point Inside