some corrections made. animation now appears but co-ordinates and frame rate need to be fixed.