added past 5 and next five lines to hover state of each group