adding transition to top navigation