Change active pill on page change