added code to get animation details from the keyboard prefs in ios