Added functionality to move between text fields