added missing transformations for UP and DOWN animations when navigating to another view to CSS