Move cursor to end of input box on flag selection