fixing for iphone display
changed animation to div
added error for iphone display