added better animation. code cleanup required
door animation code cleanup