Added timer for view animation