Castleford boss Daryl Powell praised his side for their second-half efforts after they secured a dramatic 42-38 victory at Widnes.