Add friendly pagination URLs, fix config, fix chapters view