fix the initial animation when the keyboard is showing up