Lee Gregory's wonderful first time finish put Mansfield Town 2-1 up in his side's League One clash against Cambridge United.