Synchronize animation curve with the keyboard animation curve for a better visual experince