fixes transition, adds active chapter highlighting