added code to debug keyboard animation glitch