Nottingham Forest remain in the thick of the Champions League hunt, despite a nervy finish in East London.