added animations and transitions