added active state for top arrow
third pass