added door open and close animations in both directions.