fix the phonegap animation to the top bug